package com.ae.shield.common.items.util;

import net.minecraft.client.Minecraft;
import net.minecraft.client.util.InputMappings;

public class KeyHelper {
    public static boolean isKeyPressed(int key){
        return InputMappings.isKeyDown(Minecraft.getInstance().getMainWindow().getHandle(), key);
    }
}
